package cn.tx.coolshark.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ProductDetailVO implements Serializable {
    private Integer id;
    private String title;//标题、商品名称
    private Double price;//现价
    private Double oldPrice;//原价
    private Integer saleCount;//销量
    private String url;//商品图片路径
    private Integer viewCount;//浏览量
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private Date created;//发布时间
}
